<template>
  <div :class="prefix">
    <div :class="`${prefix}-content`">
      <div class="item">
        <BasicLineChart />
      </div>
      <div class="item">
        <BasicPieChart />
      </div>
      <div class="item">
        <BasicCustomization />
      </div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
  </div>
</template>

<script setup lang="ts">
const prefix = 'vue-data-ui-basic';
import BasicLineChart from './components/basic-linechart.vue';
import BasicPieChart from './components/basic-pieChart.vue';
import BasicCustomization from './components/basic-customization.vue';
</script>

<style lang="scss" scoped>
.vue-data-ui-basic {
  width: 100%;
  min-height: $height;
  background: #fff;
  padding: 10px;
  &-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr); //分成三栏，每栏均等分
    grid-gap: 10px;
    width: 100%;
    .item {
      flex: calc(100% / 3);
      height: 200px;
      background-color: rgb(173, 185, 185);
    }
  }
}
</style>
